<!--<?php
print <<<EOT
-->

<!--Content Start-->
<table width="95%" border="0" align="center">
  <tr> 
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td>
    
      <form action="p_fabric.php" method="post" name="form1" enctype="multipart/form-data">
      <table width="60%" align="left">
      <tr><td>
      <table width="95%" border="0" align="center">
        <tr> 
          <td align="right">&nbsp; </td>
        </tr>
        <tr> 
          <td>
            <table border="0" cellspacing="0" cellpadding="2">
              <tr> 
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>             
              <tr> 
                <td>Name :</td>
                <td><input type="text" class="text" name="name">	  
                  <input name="action" type="hidden" value="add"></td>
              </tr>
            <tr> 
                <td>Name Chinese:</td>
                <td><input type="text" class="text" name="namezh"> 
              
				  </td>
              </tr>
            <tr> 
                <td>Name Russian:</td>
                <td><input type="text" class="text" name="nameru"> 
              
				  </td>
              </tr>
         <tr> 
                <td>Photo :</td>
                <td><input name="photo" type="file" class="text" size="50" /></td>
              </tr> 
         <tr> 
                <td>seq :</td>
                <td><input class="text" name="seq" type="text" size="10" value="0"></td>
              </tr> 
                     <tr> 
                <td>Fabric Category :</td>
                <td><select class="select" name="cat_id">
                <!--
EOT;
for($i=0; $i<count($out_ary); $i++){      
print <<<EOT
-->
                <option value="{$out_ary[$i]['id']}">{$out_ary[$i]['name']}</option>
<!--
EOT;
}
print <<<EOT
-->
                  </select>	 </td>
              </tr> 
            </table>
          </td>
        </tr>
            </table>
          </td>
        </tr>
      </table>
     </td>
	 </tr>

	
      <tr><td>
      <table width="95%" border="0" align="left">
        <tr> 
          <td align="center">
            <input type="image" src="../images/admin/bt_cancel.gif" width="78" height="23" onclick="location.href='p_finish_item.php'"> 
            <input type="image" src="../images/admin/bt_save.gif" width="76" height="22" onclick="form1.submit"> 
          </td>
        </tr>
      </table>
      </td></tr>
      </table>
      </form>

      <p>&nbsp;</p></td>
  </tr>
</table>
<!--Content End-->

<!--
EOT;
?>-->